package cn.iocoder.yudao.module.product.convert.calculationmodel;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.product.controller.admin.calculationmodel.vo.*;
import cn.iocoder.yudao.module.product.dal.dataobject.calculationmodel.CalculationModelDO;

/**
 * 核算模型 Convert
 *
 * @author wcl
 */
@Mapper
public interface CalculationModelConvert {

    CalculationModelConvert INSTANCE = Mappers.getMapper(CalculationModelConvert.class);

    CalculationModelDO convert(CalculationModelCreateReqVO bean);

    CalculationModelDO convert(CalculationModelUpdateReqVO bean);

    CalculationModelRespVO convert(CalculationModelDO bean);

    List<CalculationModelRespVO> convertList(List<CalculationModelDO> list);

    PageResult<CalculationModelRespVO> convertPage(PageResult<CalculationModelDO> page);

}
